projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa59f5a
)
repo: Really ignore progress changed user data
author
Dan Nicholson
<nicholson@endlessm.com>
Thu, 11 Aug 2016 19:39:19 +0000
(12:39 -0700)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Fri, 12 Aug 2016 14:56:07 +0000
(14:56 +0000)
The documentation says this is ignored, implying that you should pass
NULL to it. However, the function immediately returns in this case even
though the argument isn't used anywhere.
Closes: #458
Approved by: cgwalters
src/libostree/ostree-repo.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo.c
b/src/libostree/ostree-repo.c
index 62415f0690f02b3b47bd224728dd9c2a1cf63c87..a41f29c93418fb8b6dbfda72c8ac8c71c8fbd858 100644
(file)
--- a/
src/libostree/ostree-repo.c
+++ b/
src/libostree/ostree-repo.c
@@
-3839,10
+3839,6
@@
ostree_repo_pull_default_console_progress_changed (OstreeAsyncProgress *progress
guint fetched_delta_parts;
guint total_delta_parts;
- /* Historical note; we used to treat this as a GSConsole instance */
- if (user_data == NULL)
- return;
-
buf = g_string_new ("");
status = ostree_async_progress_get_status (progress);